<?php

use yii\helpers\Html;
use yii\widgets\ActiveForm;
use common\models\discount\FullCut;

/* @var $this yii\web\View */
/* @var $model backend\models\FullCutSearch */
/* @var $form yii\widgets\ActiveForm */
?>

<div class="full-cut-search">

    <?php
    \Yii::$container->set(\yii\widgets\ActiveField::className(), ['template' => "{label}\n{input}\n{hint}"]);
    $form = ActiveForm::begin([
        'action' => ['index'],
        'method' => 'get',
        'options'=>['class'=>'form-inline']
    ]); ?>
    
    <?= $form->field($model, 'title') ?>

    <?= $form->field($model, 'c_status')->dropDownList(FullCut::$STATUS_DESC); ?>

    <div class="form-group">
        <?= Html::submitButton('搜索', ['class' => 'btn btn-primary']) ?>
    </div>

    <?php ActiveForm::end(); ?>

</div>
